package com.ruoyi.fly.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;


import java.sql.Timestamp;

/**
 * 设置管理对象 pc_setting
 *
 * @date 2024-04-26
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "PcSetting", description = "设置管理表")
@AllArgsConstructor
public class PcSetting extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 设置id
     */
    @ApiModelProperty(value = "设置id")
    private String settingId;

    /**
     * 设置标题
     */
    @ApiModelProperty(value = "设置标题")
    private String settingTitle;

    /**
     * 设置类型(1用户政策2隐私协议3vip规则4分享规则)
     */
    @ApiModelProperty(value = "设置类型(1用户政策2隐私协议3vip规则4分享规则)")
    private Long settingType;

    /**
     * 设置内容
     */
    @ApiModelProperty(value = "设置内容")
    private String settingContent;

    /**
     * 设置状态（0正常 1删除）
     */
    @ApiModelProperty(value = "设置状态（0正常 1删除）")
    private Long status;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private Integer createUser;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    private Integer updateUser;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(shape = JsonFormat.Shape.NUMBER,pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;

}